<?php
session_start();


if(isset($_POST['question'])){


	if($_POST['question'] == ""){
		echo 3;
	}else{
		require_once '../../../serverResources/includes/db/ConnDBUser.php';
		require_once '../../../serverResources/includes/classes/ImpQuest.php';

		$diad=new ImpQuest($_POST['question'], $_SESSION['projectID'], $_SESSION['groupID']);
		$success=$diad->addImpQuest();
		unset($diad);
		echo $success;
	}

	
}

?>



